package com.ygqh.customs.service;

import com.ygqh.common.okhttp.exception.OkHttp3Exception;
import com.ygqh.customs.domain.PayExInfo;
import com.ygqh.customs.model.DataUpListModel;
import com.ygqh.customs.model.ResultSet;
import com.ygqh.customs.request.DataUpRequest;
import com.ygqh.customs.request.DataUpSearchRequest;
import com.ygqh.customs.request.PlatDataOpenRequest;
import com.ygqh.customs.response.PlatDataResponse;

import java.util.Map;

/**
 * 〈〉
 *
 * @author admin
 * @create 2019/3/15
 * @since 1.0.0
 */
public interface YgCustomsDataUpService {

    PlatDataResponse platDataOpen(Map<String, String> map);

    PlatDataResponse platDataOpen(PlatDataOpenRequest request);

    void sendDataToSign(PlatDataOpenRequest request);

    void sendDataToSign(PayExInfo dataUpSignParam) throws OkHttp3Exception;


    PlatDataResponse platDataUp(DataUpRequest dataUpRequest);


    ResultSet<DataUpListModel> search(DataUpSearchRequest searchRequest);
}
